home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Nave
/
LunarLander.swf
/
scripts
/
frame_4
/
PlaceObject2_77_25
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2006-06-13
|
254 b
|
10 lines
onClipEvent(enterFrame){
fuel = _root.lander.fuel;
hval = fuel - fuel % 100;
h.gotoAndStop(hval / 100 + 1);
tval = fuel - hval - fuel % 10;
t.gotoAndStop(tval / 10 + 1);
uval = fuel - hval - tval;
u.gotoAndStop(uval + 1);
}